package com.ict.web.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.common.annotation.Excel;
import com.ict.web.controller.file.domain.YzqFile;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class LastCheckDetailsVo {
    /** 项目id */
    @ApiModelProperty(value = "项目id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @NotNull(message = "项目id不能为空")
    private Long proId;


    /** 终验通过时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "终验通过时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastAdoptTime;

    /** 验收机构名称 */
    @Excel(name = "验收机构名称")
    private String checkName;

    /** 终验通过凭证 */
    @Excel(name = "终验通过凭证")
    private String lastAdoptVoucher;

    /** 终验通过凭证文件 */
    @Excel(name = "终验通过凭证文件")
    private YzqFile lastAdoptVoucherFile;

}
